package com.tfjybj.itoo.exam.model;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * QuestionModelForHomepage
 * 返回给首页的Model
 *
 * @author 郭凯
 * @version 2.0.0
 * @since 2.0.0 2018年12月17日15:21:33
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class QuestionModelForHomePage implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "question主键")
    @Column(name = "id")
    private String id;
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", required = true, example = "0")
    private Integer serial;

    /**
     * 难度等级初始值
     */
    @ApiModelProperty(value = "难度等级初始值", example = "0")
    private Integer degreeInitial;

    /**
     * 题型id
     */
    @ApiModelProperty(value = "题型id", required = true)
    private String questionTypeId;

    /**
     * 试题分类id
     */
    @ApiModelProperty(value = "试题分类id", required = true)
    private String questionClassifyId;

    /**
     * 题干:字符串格式
     */
    @ApiModelProperty(value = "题干:字符串格式")
    private String questionContent;


    /**
     * 检查结果:字符串格式
     */
    @ApiModelProperty(value = "检查结果:字符串格式")
    private String checkResult;

}
